package com.wp.quartz;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

/**
 * @author: WangPeng
 * @createTime: 2022/11/18 11:28
 * @description:
 * @version: v1.0
 */
@Component
public class MyQuartz {
    @Scheduled(cron = "0/2 * * * * ?")
    public void test01(){
        System.out.println("======");
    }
}
